* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

.client_container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.client_container .main {
    width: 1000px;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    z-index: 2;
}

.client_container .main .left {
    width: 280px;
    height: 100%;
    background-color: rgb(46,50,56);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.client_container .main .right {
    width: 720px;
    height: 100%;
    padding: 0 10px;
    background-color: rgb(238, 238, 238);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.cover {
    position: absolute;
    width: 100%;
    height: 729px;
    background-image: url(../images/1.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 1;
    filter: blur(20px);
}

.client_container .main .left .user {
    height: 80px;
    line-height: 80px;
    display: flex;
}

.client_container .main .left .user img {
    width: 50px;
    height: 50px;
    margin-left: 15px;
    margin-top: 15px;
}

.client_container .main .left .user span {
    color: white;
    margin-left: 7px;
}

.client_container .main .left .search {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.client_container .main .left .search input {
    height: 30px;
    width: 200px;
    background-color: rgb(38,41,46);
    color: white;
    padding: 0px 8px;
    outline: none;
    border: none;
}

.client_container .main .left .search button {
    width: 30px;
    height: 30px;
    background-color: rgb(38,41,46);
    border: none;
    background-image: url(../images/搜索1.png);
    background-size: 25px 25px;
    background-repeat: no-repeat;
    background-position: center center;
}

.client_container .main .left .search button:active {
    background-color: gray;
}

.client_container .main .left .tab {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.client_container .main .left .tab .tab_session {
    height: 40px;
    width: 50%;
    background-image: url(../images/对话1.png);
    background-size: 30px 30px;
    background-position: center center;
    background-repeat: no-repeat;
}

.client_container .main .left .tab .tab_friend {
    height: 40px;
    width: 50%;
    background-image: url(../images/朋友.png);
    background-size: 30px 30px;
    background-position: center center;
    background-repeat: no-repeat;
}

.client_container .main .left .list {
    height: 530px;
    overflow: auto;
}

::-webkit-scrollbar {
    display: none;
}

.client_container .main .left .list li {
    height: 60px;
    padding: 10px 20px;
    list-style: none;
    border-top: solid 1px black;
}

.client_container .main .left .list li h3 {
    color: white;
    font-size: 15px;
    line-height: 20px;
}

.client_container .main .left .list li p {
    color: white;
    font-size: 13px;
    line-height: 20px;
}

.client_container .main .left .list .selected {
    background-color: rgb(58,63,69);
}

.client_container .main .left .hiden {
    display: none;
}

.client_container .main .left .list li h4 {
    color: white;
    font-size: 20px;
    line-height: 40px;
}

.client_container .main .right .title {
    height: 50px;
    line-height: 50px;
    font-weight: 500px;
    text-align: center;
    border-bottom: solid 1px gray;
}

.client_container .main .right .message-show {
    height: 500px;
    border-bottom: solid 1px gray;
    overflow: auto;
}

.client_container .main .right .message {
    width: 100%;
    margin-top: 10px;
    display: flex;
}

.client_container .main .right .message-show .message-left {
    justify-content: start;
}

.client_container .main .right .message-show .message-right {
    justify-content: end;
}


.client_container .main .right .message-show .box {
    width: 500px;
}

.client_container .main .right .message-show .message p {
    padding: 5px 5px 5px 10px;
    margin: 5px 15px 0px 15px;
    border-radius: 5px;
}

.client_container .main .right .message-show .message-left p {
    background-color: white;
}

.client_container .main .right .message-show .message-right p {
    background-color: chartreuse;
}

.client_container .main .right .message-show .message-right h4 {
    text-align: right;
}

.client_container .main .right .message-show .message-right p {
    text-align: right;
}

.client_container .main .right .message-input {
    width: 100%;
    height: 100px;
}

.client_container .main .right .message-input textarea {
    width: 100%;
    height: 100px;
    background-color: rgb(238, 238, 238);
    resize: none;
    border: none;
    outline: none;
    padding-top: 10px;
    font-size: 15px;
}

.client_container .main .right .ctrl {
    height: 50px;
    display: flex;
    justify-content: end;
}

.client_container .main .right .ctrl button {
    height: 30px;
    width: 75px;
    border-radius: 5px;
    border: solid 1px #ccc;
}

.client_container .main .right .ctrl button:active {
    background-color: gray;
}